package com.zbs.framework.security.entity;


import java.util.HashMap;
import java.util.Map;

public class Claim {
    private final Map<String,Object> map = new HashMap<>();
    public Claim() {
    }

    public static Claim build() {
        return new Claim();
    }

    public Claim claim(String name, Object value) {
        this.map.put(name,value);
        return this;
    }

    public Map<String, Object> getMap() {
        return map;
    }
}
